let routerNameConfig = {}

const needTitleArr = [
  'app', 'nav', 'home', 'work', 'live', 'discover', 'apply', 'support', 'form'
];

needTitleArr.forEach(v => {
  routerNameConfig[v] = v
})

/**
 * 浏览器 title map
 */
const product = '国际私塾'
let titleConfig = {
  app: product,
  nav: `${product}-菜单`,
  form: `${product}`,
  home: product,
  work: `${product}-WORK`,
  live: `${product}-LIVE`,
  discover: `${product}-DISCOVER`,
  apply: `${product}-APPLY`,
  support: `${product}-SUPPORT`,
}

// header 顶部 title
let topicTitleConfig = {
  work: 'WORK in china',
  live: 'LIVE in china',
  discover: 'DISCOVER in china',
  apply: 'APPLY',
  support: 'SUPPORT'
}

export {
  routerNameConfig,
  titleConfig,
  needTitleArr,
  topicTitleConfig,
}
